home *** CD-ROM | disk | FTP | other *** search
- unit DeskProp;
-
- interface
-
- uses SysUtils, Windows, Messages, Classes, Graphics, Controls, StdCtrls,
- ExtCtrls, Forms, ComServ, ComObj, StdVcl, AxCtrls, GIFImage;
-
- type
- TDesktopProp = class(TPropertyPage)
- GIFImage1: TGIFImage;
- Label1: TLabel;
- Label2: TLabel;
- private
- { Private declarations }
- protected
- procedure UpdatePropertyPage; override;
- procedure UpdateObject; override;
- public
- { Public declarations }
- end;
-
- const
- Class_DesktopProp: TGUID = '{C5B5EEE1-E9A7-11D1-8CDD-8D1116120B0F}';
-
- implementation
-
- {$R *.DFM}
-
- procedure TDesktopProp.UpdatePropertyPage;
- begin
- { Update your controls from OleObject }
- end;
-
- procedure TDesktopProp.UpdateObject;
- begin
- { Update OleObject from your controls }
- end;
-
- initialization
- TActiveXPropertyPageFactory.Create(
- ComServer,
- TDesktopProp,
- Class_DesktopProp);
- end.
-